public class Test {
    public static void main(String[] args) {
        TestbinaryTree testbinaryTree = new TestbinaryTree();
        TestbinaryTree.TreeNode  root = testbinaryTree.createTree();
        System.out.println("==前序遍历==");
        testbinaryTree.preOrder(root);
        System.out.println();
//        System.out.println("==中序遍历==");
//        testbinaryTree.inOrder(root);
//        System.out.println();
//        System.out.println("==后序遍历==");
//        testbinaryTree.postOrder(root);
//        System.out.println();
        TestbinaryTree.TreeNode  ret =  testbinaryTree.find(root,'H');
        System.out.println("查找："+ret.val);
    }

}
